package com.zhiyi.coco.service;

import com.zhiyi.coco.entity.FoodInfo;
import io.swagger.models.auth.In;

import java.util.List;

public interface FoodInfoService {
    List<FoodInfo> getAll(Integer typeId);

    List<FoodInfo> getAllNoParam();

    FoodInfo getInfoById(Integer id);

    Integer deleteInfoById(Integer id);

    Integer updateimgbyid(Integer id);

    Integer updateByPrimaryKey(FoodInfo foodInfo);

    Integer insert(FoodInfo foodInfo);

    FoodInfo selectFid(String name);

    Integer updateFid(String name,Integer re);
}
